package cn.com.nes.site.entity.vo.inventory;

import cn.com.nes.site.entity.vo.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 修改入库申请单货品信息
 */
@Data
public class UpdateApplyGoodsInfoInVO extends BaseVO {

    @ApiModelProperty(name = "uuid不能为空")
    @NotEmpty(message = "uuid不能为空")
    private String uuid;

    @ApiModelProperty(name = "数量")
    @NotNull(message = "数量不能为空")
    private BigDecimal inoutNum;

    @ApiModelProperty(name = "备注")
    private String memo;
}
